@font-face{
    font-family:'Play';
    font-style:normal;
    font-weight:400;
    src:url('../fonts/Play.woff2') format('woff2');
    unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215
}

@keyframes slowUp {
    0% {
        opacity: 0;
        transform: translateY(25px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slowDown {
    0% {
        opacity: 0;
        transform: translateY(-25px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slowRight {
    0% {
        opacity: 0;
        transform: translateX(-25px)
    }
    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slowLeft {
    0% {
        opacity: 0;
        transform: translateX(25px)
    }
    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

.navbar {
    animation: slowDown 1s;
}

.sidebar .basic-info {
    animation: slowUp 1s;
}

.right-panel .card {
    animation: slowLeft 1s;
}

.right-panel .card-body {
    animation: slowLeft 2s;
}


/** 回到顶部 **/
.to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: rgba(15, 111, 236, 0.1);
    color: #0f6fec;
    border-radius: 5px;
    opacity: 0;
}

.to-top:hover {
    background: #0f6fec;
    color: #FFF;
}

/** 页码条 **/
.social-main .pagination {
    width: 100%;
    text-align: center;
    display: inline-block;
    margin: 1rem 0;
}

.social-main .pagination .page {
    display: inline-block;
    margin: 0 .2rem 1rem .2rem;
    color: #888;
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 3px;
}

.social-main .pagination .page:hover,
.social-main .pagination .page.current  {
    background: var(--bs-primary);
    color: #FFF;
}

/** 首页 **/
.social-main {
    font-family: Play;
}

.social-main .visible {
    opacity: 1 !important
}

.social-main .invisible {
    opacity: 0 !important;
}

.social-main .stick-top:hover img.card-img {
    transform: scale(1.1);
    transition: .5s all;
}

.social-main .stick-top:hover .stretched-link::after {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .5);
    transition: .5s all;
}

.social-main .summary {
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.social-main .index .card-header {
    animation: slowDown 1s;
}

.social-main .index .card-body {
    animation: slowUp 1.5s;
}

/** 归档 **/
.social-main .post-archives {
    position: relative;
}

.social-main .post-archives li {
    animation: slowUp 1s;
}

.social-main .post-archives li:hover {
    background: #eef0f2;
}


/** 文章列表 **/
.social-main .post-list img {
    width: 100%;
    max-height: 149px;
    object-fit: cover;
}

/** 文章详情 **/
h1, h2, h3, h4, h5, h6 {
    font-family: Play, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
    font-weight: 100;
    line-height: 1.35;
}

.social-main .post-content h1,
.social-main .post-content h2,
.social-main .post-content h3,
.social-main .post-content h4,
.social-main .post-content h5,
.social-main .post-content h6 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    line-height: 1.35;
}

.social-main .post-content h1 {
    font-size: 2em;
}

.social-main .post-content h2 {
    font-size: 1.8em;
}

.social-main .post-content h3 {
    font-size: 1.6em;
}

.social-main .post-content h4 {
    font-size: 1.4em;
}

.social-main .post-content h5, .social-main .post-content h6 {
    font-size: 1.2em;
}

.social-main .post-content ul {
    list-style: disc;
}

.social-main .post-content ol {
    list-style: decimal;
}

.social-main .post-content li ul,
.social-main .post-content li ol {
    margin-bottom: 0.8em;
    margin-left: 2em;
}

.social-main .post-content li ul {
    list-style: circle;
}

.social-main .post-content table th,
.social-main .post-content table td {
    border: 1px solid #ddd;
    padding: 0.5em 1em;
}

.social-main .post-content table caption {
    border-bottom: none;
}

.social-main .post-content .highlight {
    position: relative;
    font-family: sans-serif;
    background-color: #000;
    padding-top: 34px;
}

.social-main .post-content figure.highlight::before {
    content: " ";
    position: absolute;
    border-radius: 50%;
    background: #fc625d;
    width: 12px;
    height: 12px;
    top: 12px;
    left: 12px;
    box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
    z-index: 2
}

.social-main .post-content .highlight table,
.social-main .post-content .highlight tbody {
    margin: 0;
    width: 100%;
    border: none
}

.highlight,
.social-main .post-content pre {
    overflow: auto;
    margin: 20px 0;
    padding: 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6
}

.social-main .post-content pre {
    width: 100%;
    padding: 1rem 0 0 0;
    background-color: #000;
}

.social-main .post-content pre code {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    position: relative;
    background: #2d2d2d;
    color: #F1F1F1;
}

.social-main .post-content pre code::before {
    content: " ";
    position: absolute;
    border-radius: 50%;
    background: #fc625d;
    width: 12px;
    height: 12px;
    top: -22px;
    left: 12px;
    box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
    z-index: 2;
}

.social-main .post-content .highlight td {
    border: none;
    padding: 0
}

.highlight::-webkit-scrollbar,
.social-main .post-content pre::-webkit-scrollbar {
    height: 4px
}

.highlight::-webkit-scrollbar-thumb,
.social-main .post-content pre::-webkit-scrollbar-thumb {
    width: 5px;
    border-radius: 10px;
}

.highlight::-webkit-scrollbar-track,
.social-main .post-content pre::-webkit-scrollbar-track {
    border-radius: 0;
}

.social-main .post-content .gutter {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.social-main .post-content .highlight pre {
    border: none;
    margin: 0;
    padding: 10px 0;
    box-shadow: none !important;
}

.social-main .post-content .highlight pre span.line {
    display: block;
}

.social-main .post-content .highlight .gutter {
    width: 24px
}

.social-main .post-content .highlight .gutter pre {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    color: #ccc;
    text-align: right;
    background-color: #2d2d2d;
    border-radius: 0 0 0 4px;
}

.social-main .post-content .highlight .code pre {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #2d2d2d;
    border-radius: 0 0 4px 0;
}

.social-main .post-content .highlight .hljs {
    font-size: 15px;
    background: none !important;
    color: #ccc;
    display: inline!important;
    padding: 0!important
}

.social-main .post-reward .post-reward-area {
    display: flex;
    justify-content: center;
    animation: slowDown 1s;
}

.social-main .post-reward .post-reward-area.hide {
    display: none;
}

/** 分类 **/
.social-main .category img {
    width: 324px;
    height: 220px;
    object-fit: cover;
}

.social-main .category .category-item {
    animation: slowUp 1s;
}

/** 标签 **/
.social-main .tag .tag-item {
    animation: slowUp 1s;
}

/** 专辑 **/
.social-main .album .album-item {
    animation: slowLeft 1s;
}

.social-main .album-detail img {
    width: 100%;
    height: 111px;
    object-fit: cover;
}

.social-main .album-detail .album-detail-item {
    animation: slowLeft 1s;
}

.social-main .video-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 2000;
}

.social-main .video-self {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 420px;
    z-index: 1000;
}

.social-main .video-close {
    position: absolute;
    width: 22px;
    height: 22px;
    top: 12px;
    right: 12px;
    z-index: 1000;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
}

/** 动态 **/
.social-main .blogger-info .author-info {
    animation: slowDown 1s;
}

.social-main .blogger-info .contract-info {
    animation: slowUp 1.5s;
}

.social-main .dynamic {
    animation: slowUp 1s;
}

/** 友链 **/
.social-main .friend-link .friend-link-item {
    animation: slowLeft 1s;
}

/** 关于 **/
.social-main .about {
    animation: slowUp 1s;
}

.social-main .post-list .post-list-item {
    animation: slowUp 1s;
}

/** 评论区 **/
.hb-comment h2.h2 {
    font-size: 1.40625rem !important;
}

.hb-w-body .hb-comment-help button {
    padding: 0.2rem 1rem !important;
}

.hb-w-body .hb-w-body-item .avatar img,
.hb-r-body .hb-r-body-item .avatar img {
    border-radius: 50% !important;
}

/** 消息框 **/
div.note {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: "FontAwesome";
}

div.note:not(.no-icon) {
    padding-left: 3rem;
}

div.note.note-success {
    position: relative;
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    border-left: 3px solid #3c763d;
    box-shadow: 0 1px 3px 1px #d6e9c6;
}

div.note.note-success:not(.no-icon)::before {
    position: absolute;
    content: "\f058";
    left: 1rem;
    width: 32px;
    height: 32px;
}

div.note.note-info {
    position: relative;
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    border-left: 3px solid #31708f;
    box-shadow: 0 1px 3px 1px #bce8f1;
}

div.note.note-info:not(.no-icon)::before {
    position: absolute;
    content: "\f06c";
    left: 1rem;
    width: 32px;
    height: 32px;
}

div.note.note-warning {
    position: relative;
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
    border-left: 3px solid #8a6d3b;
    box-shadow: 0 1px 3px 1px #faebcc;
}

div.note.note-warning:not(.no-icon)::before {
    position: absolute;
    content: "\f06a";
    left: 1rem;
    width: 32px;
    height: 32px;
}

div.note.note-danger {
    position: relative;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    border-left: 3px solid #a94442;
    box-shadow: 0 1px 3px 1px #ebccd1;
}

div.note.note-danger:not(.no-icon)::before {
    position: absolute;
    content: "\f057";
    left: 1rem;
    width: 32px;
    height: 32px;
}

/** 复制按钮 **/
.highlight .copy-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    display: inline-block;
    text-align: center;
    width: 44px;
    height: 22px;
    padding: 2px;
    color: #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px !important;
    opacity: 0;
}

.highlight:hover .copy-btn {
    opacity: 1;
}

.highlight .copy-btn:hover {
    color: #FFF !important;
}